package org.sn.jdish.dubbo.base;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;

import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;

@Component
public class AppInit implements ApplicationListener<ContextRefreshedEvent> {

	public static final Logger logger = LoggerFactory.getLogger(AppInit.class);

	public void onApplicationEvent(ContextRefreshedEvent arg0) {
		logger.info("this is a init of the application!");
	}

}
